using System.Collections.Generic;

namespace MyApp.WebApi.Entity
{
    public class Goods : BaseModel
    {
        public string GoodsName { get; set; }

        public string Description { get; set; }
        public int GoodsCode { get; set; }
        public double Prices { get; set; }
        public double CurrentPrices { get; set; }
        public int Number { get; set; }

        public virtual IEnumerable<GoodsCatagorys> GoodsCatagorys { get; set; }
        public virtual IEnumerable<UsersGoods> UsersGoods { get; set; }
        public virtual IEnumerable<GoodsPhotos> GoodsPhotos { get; set; }
        // public virtual IEnumerable<InTurns> InTurns { get; set; }
        public virtual IEnumerable<OrdersSpecs> OrdersSpecs { get; set; }
        public virtual IEnumerable<GoodsAttributes> GoodsAttributes { get; set; }




        //自动构建对应表的主外键关系



    }
}
